﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Categories : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        EBookList1.DataSource = Category.GetAllCategories();
        EBookList1.DataBind();
        EBookList1.ColumnCount = 3;

        EBookList2.DataSource = Author.GetAllAuthors();
        EBookList2.DataBind();
        EBookList2.ColumnCount = 3;

        EBookList3.DataSource = Publisher.GetAllPublishers();
        EBookList3.DataBind();
        EBookList3.ColumnCount = 3;
    }
}